package cn.tedu.huntingmall.service;

import cn.tedu.huntingmall.pojo.dto.myorder.MyOrderAddNewDTO;
import cn.tedu.huntingmall.pojo.entity.myorder.MyOrder;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IMyOrderService {

    Long insert (MyOrderAddNewDTO myOrderAddNewDTO);

    int deleteById(Long id, String username);

    List<MyOrder> selectByUsername(String username);

}
